package com.biomatch.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.biomatch.domain.CourseOrder;
import com.biomatch.dto.Pagination;
import com.biomatch.dto.TeacherCoursePagination;

import java.util.List;

public interface CourseOrderService {
    IPage<CourseOrder> getAllByPage(Pagination pagination);

    List<CourseOrder> getAll();

    CourseOrder saveOrUpdate(CourseOrder courseOrder);

    CourseOrder delete(CourseOrder courseOrder);

    CourseOrder deleteCourse(String courseId);

    IPage<CourseOrder> getCourseByTeacherId(TeacherCoursePagination teacherCoursePagination);
}
